<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>订单-24-15.2K</title>
  <!-- 需要引入的css -->
  <link rel="stylesheet" href="../lib/fontawesome/css/font-awesome.css">
  <link rel="stylesheet" href="../lib/mui/css/mui.css">
  <!-- 项目的公共的样式文件 scss  -->
  <link rel="stylesheet" href="../css/common.css">
  <!-- 自己页面的样式文件 scss -->
  <link rel="stylesheet" href="../css/order.css">

</head>

<body>
  <!-- 头部 -->
  <header class="mui-bar mui-bar-nav">
    <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
    <h1 class="mui-title">订单</h1>
  </header>
  <!-- 内容 -->
  <div class="pyg_view">
    <!-- 标题 -->
    <div id="segmentedControl" class="mui-segmented-control mui-segmented-control-inverted mui-segmented-control-primary">
      <a class="mui-control-item mui-active" href="#item1"> 全部订单 </a>
      <a class="mui-control-item" href="#item2"> 待付款 </a>
      <a class="mui-control-item" href="#item3"> 待收货 </a>
    </div>
    <!-- 内容 -->
    <div>
      <div id="item1" class="mui-control-content mui-active">
        <ul class="order_list"></ul>
      </div>
      <div id="item2" class="mui-control-content ">
        正在开发中。。
      </div>
      <div id="item3" class="mui-control-content">
        ui 跑路。。。
      </div>
    </div>
  </div>
  <!-- 尾部 -->
  <footer class="pyg_footer">
    <a href="javascript:;">
      <span class="fa fa-home"></span>
      <div>首页</div>
    </a>
    <a href="pages/category.html">
      <span class="fa fa-list-ul"></span>
      <div>分类</div>
    </a>
    <a href="javascript:;">
      <span class="fa fa-cart-plus"></span>
      <div>购物车</div>
    </a>
    <a href="javascript:;">
      <span class="fa fa-user"></span>
      <div>我的</div>
    </a>
  </footer>

</body>

<!-- 模板引擎 -->
<script type="text/html" id="mainTpl">
  {{each data value index}}
  <li>
    <div class="order_left">
      <div class="order_no_title">订单编号</div>
      <div class="order_no_content">{{value.order_number}}</div>
    </div>
    <div class="order_right">
      ￥{{value.order_price}}
    </div>
  </li>
  {{/each}}
</script>
<!-- 模板引擎 -->

<!-- js -->
<script src="../lib/mui/js/mui.js"></script>
<!-- zepto 是我 自己定制过的！！！ 里面包含了一些常用的模块！！ 直接当做jq来使用！！！  -->
<script src="../lib/zepto/zepto.js"></script>
<script src="../lib/arttemplate/template-web.js"></script>
<!-- 公共 js -->
<script src="../js/common.js"></script>
<!-- 自己 js -->
<script src="../js/order.js"></script>

</html>